<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>
        <h:form id="menuForm">
            <p:dataTable id="datalist" value="#{tituloController.items}" var="item" rowKey="#{item.titCodigo}" paginator="false">          
                <p:column filterBy="#{item.titTitulo}"> 
                    <f:facet name="header">
                        <h:outputText value="Buscar:"/>
                    </f:facet>
                    <h:link value="#{item.titTitulo}" outcome="/contenido/index">
                        <f:param name="param" value="#{item.titCodigo}" />
                    </h:link>
                </p:column>
            </p:dataTable>
            <br/>
            <p align="left">
                <script type="text/javascript"><!--
                    google_ad_client = "ca-pub-8505972930632681";
                    /* menu */
                    google_ad_slot = "1340202452";
                    google_ad_width = 300;
                    google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                        src="//pagead2.googlesyndication.com/pagead/show_ads.js">
                </script>
            </p>
        </h:form>
    </ui:composition>

</html>